<!DOCTYPE html>

<html>
<head>
  <title>Beego</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>

<body>

<div id="content_registrations">

    <h2 align="center">在线用户</h2>
    <table border="1" align="center" width="100%">
        <tr><th>用户</th><th>联系地址</th><th>用户代理</th><th>网络IP地址</th><th>网络端口号</th></tr>
        {{range .Registrations}}
        <tr>
            <td>{{.User}}</td>
            <td>{{.Contact}}</td>
            <td>{{.Agent}}</td>
            <td>{{.NetworkIP}}</td>
            <td>{{.NetworkPort}}</td>
        </tr>
        {{end}}
    </table>
    
</div>

</body>

</html>
